package cn.edu.xmist.springmvcconcurrentdemo.remote.service;

import java.util.List;
import java.util.Map;

/**
 * @author zhongjinbin 2021/4/18
 * @since
 */
public interface RemoteOrderService {

    /**
     * 根据orderCode查询订单信息
     * @param orderCode
     * @return
     */
    Map<String, Object> queryOrderInfo(String orderCode);

    /**
     * 批量下单接口
     * @param batchParams
     * @return
     */
    List<Map<String, Object>> queryOrderInfoByBatchOrderCode(List<Map<String, String>> batchParams);
}
